import store from '@/store'

export default {
  hasApiPerm(perm) {
    const apiPermissions = store.getters.apiPermissions
    return apiPermissions.includes(perm)
  }
}
